package com.jinjie.baselibrary;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Created by syd_123 on 2018/3/15.
 * http://blog.csdn.net/dong19900415
 * View的注解
 */

@Target(ElementType.FIELD)
//什么时候生效，CLASS编译失效  RUnTIM运行时  SOURCE 源码
@Retention(RetentionPolicy.CLASS)
public @interface ViewById {
    // @interface (R.id.XXX)
    int value();
}
